package com.xixilala.video.util

import java.util.concurrent.Executors

object ExecutorServer {
    private val executor = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors())

    fun submit(runnable: () -> Unit) {
        executor.submit(runnable)
    }
}